package com.eastfair.venuebooking.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * 合同金额与时间柱状图VO.
 *
 * @author dqq
 * @date 2022 /7/9
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "ContractHistogramVO", description = "合同金额与时间柱状图VO")
public class ContractHistogramVO implements Serializable {

    private Map<String, Object> echoMap = new HashMap<>();

    @ApiModelProperty("时间")
    private String time;

    @ApiModelProperty("金额")
    private BigDecimal amount;
}